<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" >
<head>
<title>Test rect with mixed width/height percentage/px values</title>
<style type="text/css">
	@import "../../../dojo/resources/dojo.css";
	@import "../../../dijit/tests/css/dijitTests.css";
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="../../../dojo/dojo.js" data-dojo-config="isDebug: true"></script>
<!--<script type="text/javascript" src="../vml.js"></script>-->
<!--<script type="text/javascript" src="../svg.js"></script>-->
<!--<script type="text/javascript" src="../silverlight.js"></script>-->
<script type="text/javascript">
dojo.require("dojox.gfx");
dojo.require("dojox.gfx.move");
dojo.require("dojo.colors");

createSurface = function(){
	var surface = dojox.gfx.createSurface("test", 800, 600);
	surface.whenLoaded(makeShapes);
};

makeShapes = function(surface){
    surface.createRect({x: 10, y: 10, width: "100%", height: 100}).setFill("red").setStroke("black");
    surface.createRect({x: 10, y: 130, width: 100, height: "100%"}).setFill("red").setStroke("black");
};

dojo.addOnLoad(createSurface);

</script>
</head>
<body>
<h1>[12558] Test rect with mixed width/height percentage/px values</h1>
<div id="test"></div>
<p>That's all Folks!</p>
</body>
</html>
